/** @format */

import { AppRegistry, NativeModules } from 'react-native';
import App from './App';
import { name as appName } from './app.json';

GLOBAL.XMLHttpRequest = GLOBAL.originalXMLHttpRequest || GLOBAL.XMLHttpRequest;

AppRegistry.registerComponent(appName, () => App);

// if (__DEV__) {
//     // NativeModules.DevSettings.setIsDebuggingRemotely(true)
// }

// // For RN < 0.43
// if (__DEV__) {
//     // NativeModules.DevMenu.debugRemotely(true)
// }
